<style>
    .tbl td, .tbl th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 20px;
        color: rgb(0, 0, 0);
        text-decoration: none;
        word-break: break-all;
    }

    .blue {
        color: blue;
    }

    .tbl a {
        text-decoration: none;
    }

    .red {
        color: red;
    }

    .Main_List_Table {
        border-left: 1px solid rgb(236, 236, 236);
        border-top: 1px solid rgb(236, 236, 236);
    }

    .Main_List_Table_Tr1 {
        background-color: rgb(246, 246, 246);
    }

    .Main_List_Table td {
        border-right: 1px solid rgb(236, 236, 236);
        border-bottom: 1px solid rgb(236, 236, 236);
        padding: 2px;
        text-align: center;
        word-break: break-all;
    }

    .Main_List_Table_Tr1 td {
        font-weight: bold;
    }

    body, td, th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 20px;
        color: rgb(0, 0, 0);
        text-decoration: none;
        word-break: break-all;
    }

    .other {
        color: rgb(153, 153, 153);
    }

    .Main_List_Table td {
        border-right: 1px solid rgb(236, 236, 236);
        border-bottom: 1px solid rgb(236, 236, 236);
        padding: 2px;
        text-align: center;
    }

    .Main_List_Table_Tr_Over {
        background-color: rgb(228, 242, 255);
    }
</style>
<div class="bjui-pageContent">
<div style="margin-bottom:10px;"> 出库单号：
    <span id="uc_Order_Top_lbl_OrderId">{$info.outbound_sn}</span>&nbsp;&nbsp;&nbsp;
    生成时间：<span id="uc_Order_Top_lbl_Order_Time">{:date('Y-m-d H:i:s', $info['status_time'])}</span>&nbsp;&nbsp;&nbsp;
    订单状态：<font class="size18 red"><strong><span
            id="uc_Order_Top_lbl_oState">{$info.order_status}</span></strong></font>
</div>
<form action="ajaxDone1.html" id="j_form_form" class="pageForm" data-toggle="validate" method="post">
<div style="margin:15px auto 0; width:100%">
<fieldset>
<legend>订单详情</legend>
<!-- Tabs -->
<ul class="nav nav-tabs" role="tablist">
    <li class="active"><a href="#detailShopping{$info.order_id}" role="tab" data-toggle="tab">出库单详情</a></li>
    <li><a href="#shoppingInfo{$info.order_id}" role="tab" data-toggle="tab">发货信息</a></li>
</ul>
<div style="overflow:hidden; border:1px solid #ddd; border-top:none;">
<div style="float: left;border: none;display: block;overflow: hidden;width: 15%;">
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
        <tbody>
        <tr>
            <td valign="top">
                <if condition="$order_message neq '' or $my_message neq ''">
				<span id="uc_Order_Left_lbl_Show_Order_Msg">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                        <tr>
                            <td align="right"><i class="fa fa-user-md"></i><a
                                    href="{:U('Order/messageList?&orderId='.$info['order_id'])}" role="tab"
                                    data-toggle="ajaxtab" data-target="#detailOrderEdit{$info.order_id}"
                                    data-reload="false"><b>查看所有留言</b></a></td>
                        </tr>
                        <tr>
                            <td><b class="red">我的留言：</b><br>

                                <div style="border:1px solid #00A8FF; padding:5px; background-color:#E2F5FF">
									<span id="uc_Order_Left_lbl_Last_Fxy_Msg">
									<if condition="$my_message neq ''">
                                        {$my_message.content}
                                        <div class="other">{:date('Y-m-d H:i:s', $my_message['update_time'])}</div>
                                        <else/>
                                        未回复！
                                    </if>
								 	</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td height="10"></td>
                        </tr>
                        <if condition="$order_message neq ''">
                            <tr>
                                <td><b class="red">渠道商的留言：</b><br>

                                    <div style="border:1px solid #EEEEDD; padding:5px; background-color:#FFFFEE"><span
                                            id="uc_Order_Left_lbl_Last_Fxs_Msg">{$order_message.user_name} {$order_message.content}
								  <div class="other">{:date('Y-m-d H:i:s', $order_message['update_time'])}</div>
								  </span></div>
                                </td>
                            </tr>
                        </if>
                        </tbody>
                    </table>
				</span>
                </if>
                <table width="100%" border="0" cellspacing="0"
                       cellpadding="0"
                       style="margin-top:20px;">
                    <tbody>
                    <tr>
                        <td><strong>顾客信息</strong>
                            ：
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span id="uc_Order_Left_C_Name">{$info.user_name}</span>
                        </td>
                    </tr>
                    <tr>
                        <td><font class="blue">手机：</font>
                                                    <span
                                                            id="uc_Order_Left_C_Mtel">
                                                        <label id="lblMtel">{$info.mobile_phone}</label>
                                                    </span>
                        </td>
                    </tr>
                    <tr>
                        <td><font class="blue">电话：</font>
                                                    <span
                                                            id="uc_Order_Left_C_Tel">
                                                        <label id="lblCtel">{$info.home_phone}</label>
                                                    </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <font class="blue">地址：</font>
                                                    <span
                                                            id="uc_Order_Left_C_Address">{$info.address}</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <font class="blue">邮编：</font>
                                                    <span
                                                            id="uc_Order_Left_C_Postcode">{$info.zip_code}</span>
                        </td>
                    </tr>
                    <tr>
                        <td height="10"></td>
                    </tr>
                    <tr>
                        <td><strong>选择快递</strong>
                            ：
                                                    <span
                                                            id="uc_Order_Left_Exp_Name">{$info.express_name}</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>应收运费</strong>
                            ：
                            <font class="red"><b><span
                                    id="uc_Order_Left_Exp_Price">0.00</span></b></font>
                            元
                        </td>
                    </tr>
                    <tr style="display:">
                        <td>
                            <span id="uc_Order_Left_lbl_CodId"></span>
                        </td>
                    </tr>
                    <tr>
                        <td height="10"></td>
                    </tr>
                    <tr>
                        <td>
                            <strong>审单留言</strong>
                            ：{$info.check_message}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<!-- Tab panes -->
<div class="tab-content" style="float:left;width: 84%;border-radius: 0px;border: none;">
    <!-- 订单详情 -->
    <div class="tab-pane fade active in" id="detailShopping{$info.order_id}">
        <!-- 订单详情 -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="1" bgcolor="#C9C9C9"></td>
                <td valign="top" style="padding-left: 20px;
padding-right: 20px;">
                    <div id="divProItemInfo">
                        <div>订单商品列表：</div>

                        <table width="100%" border="0" cellspacing="0" cellpadding="0"
                               class="Main_List_Table" rules="none" style="border:1px solid #ddd;margin-top: 10px;">
                            <tbody>
                            <tr class="Main_List_Table_Tr1">
                                <td width="30%">商品名称</td>
                                <td width="18%">商品结算价</td>
                                <td width="18%">商品数量</td>
                                <td>颜色规格</td>
                            </tr>
                            <?php foreach($info['orderList'] as $goods):?>
                            <!--一条产品-->
                            <tr onmouseover="this.className='Main_List_Table_Tr_Over'"
                                onmouseout="this.className='Main_List_Table_Tr_Out'"
                                class="Main_List_Table_Tr_Over">
                                <td>
                                    <a href="show_Pro.aspx?Pro_Id=282">
                                        <img
                                                src="{$goods.goods_img}"
                                                width="80" height="80">
                                        <br>
                                        {$goods.goods_name}
                                        <br>货号：{$goods.goods_sn}</a>
                                    <br></td>
                                <td>
                                    网店销售价
                                    <br>{$goods.goods_price}
                                </td>
                                <td>{$goods.goods_number}</td>
                                <td>
                                    颜色：{$goods.color_name}，规格：{$goods.spec_name}
                                    <br>条码：{$goods.bar_code}
                                </td>
                            </tr>
                            <!--一条产品-->
                            <?php endforeach;?></tbody>
                        </table>
                        <div style="padding-top: 10px;">
                            <font class="red"><b>提示</b>
                                ：</font>
                            该订单商品数量：
                            <font
                                    class="red">
                                <span
                                        id="lbl_Order_Pro_Count">{$info.order_number}</span>
                            </font>
                            件,金额合计：
                            <font
                                    class="red">
                                <span
                                        id="lbl_Order_Ck_Price">{$info.amount}</span>
                            </font>
                            元，实际快递费：
                            <font class="red">
                                <span
                                        id="lbl_Total_Exp_Price">0.00</span>
                            </font>
                            元。
                        </div>
                    </div>
                    <div style="padding-top: 10px;">
                        <font class="red">
                            <b>赠品</b>
                            ：
                        </font>
                        <if condition="$info.gift neq ''">
                            {$info.gift}
                            <else/>
                            无
                        </if>
                    </div>

                    <div style="margin: 10px; margin-left:0px;">
                        <span id="lbl_Exp_Cod_Price"></span>
                        <br>

                        <p style="margin-bottom: 0px;">买家留言：
                            <span id="lbl_C_Remark">{$info.message}</span></p>
                        <br>

                        <p style="margin-bottom: 0px;">卖家备注：
                            <span id="lbl_O_Remark">{$info.seller_note}</span></p>
                        <br>
                    </div>
                </td>

            </tr>
        </table>
        <!-- END订单详情 -->
    </div>
    <!-- END订单详情 -->
    <!-- 取消订单 -->
    <div class="tab-pane fade" id="shoppingInfo{$info.order_id}">
        <table width="100%" cellspacing="0" cellpadding="10" border="0">
            <tbody>
            <tr>
                <td>
                    发货时间：<span id="lbl_Exp_Time">{$info.status_time|time_format}</span><br>
                    快递公司：<span id="lbl_Sel_Exp_Name">{$info.express_name}</span><br>
                    快递单号：<span id="lbl_Exp_Num">{$info.courie_number}</span><br>
                    <!-- 不知道是什么 -->
                    大头笔：<span id="lbl_ZtoJdDtb"></span>

                    <!--<div>-->
                        <!--<div id="show_Exp_QueryXSC2015121800242" class="other" style="padding-top: 20px; display: none">-->
                            <!--<img src="../Images/loadimg_icon2.gif">-->
                            <!--请稍等，如果长时间没有显示结果，请到快递网站查询！-->
                        <!--</div>-->
                        <!--<iframe id="f_Show_Exp_QueryXSC2015121800242" style="display: none" src=""></iframe>-->
                    <!--</div>-->
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</div>
</fieldset>
</div>
</form>
</div>

